﻿<script type="text/javascript" language="javascript">

    $(document).ready(function () {
        $("#FileTypesDialog").dialog(
        { width: 400,
            resizable: false,
            position: 'center',
            autoOpen: false,
            height: 400,
            modal: true
        });
    });


    function OpenFileTypesDialog() {
        $('#FileTypesDialog').dialog('open');
    }

</script>
<button onclick="OpenFileTypesDialog()">
    ...
</button>
<div id="FileTypesDialog" title="FileTypes Dialog">
    @{Html.RenderAction(MVC.Reports.Filters.FileTypesIndex());}
</div>
